<section class="content-header">
    <h1>&nbsp;</h1>
    <ol class="breadcrumb pull-left" style="left:10px;">
        <li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i>
            跳板机列表</a>
    </ol>
</section>
<section class="content">
    <div class="row">
        <div class="col-xs-12">
            <div class="box">
                <div class="box-header">

                </div>
                <div class="box-body" style=" ">
                    <input type="text" ng-model="search.ip" style="width: 220px;"
                           placeholder="Search Jump Server Ip Here..." class="form-control"/>
                    <a type="button" class="btn btn-success pull-right"   ng-click="gotoAddS();"><span class="glyphicon glyphicon-plus-sign"></span>&nbsp;新建</a>
                    <br>
                    <br>
                    <table class="table table-bordered">
                        <tr>
                            <th width="20%" style="text-align:center;">名称</th>
                            <th width="20%" style="text-align:center;">IP</th>
                            <th width="40%" style="text-align:center;">描述</th>
                            <th width="20%" style="text-align:center;">操作</th>
                        </tr>
                        <span ng-if="count != 0">
                            <tr ng-repeat="i in jumpServerList | filter:search | orderBy:'ip' "
                                style="line-height: 50px;">
                                <td style="text-align: center;">{{i.name}}</td>
                                <td style="text-align: center;">{{i.ip}}</td>
                                <td style="text-align: center;">{{i.desc}}</td>
                                <td style="text-align: center;">
                                    <a class="btn btn-sm btn-primary" ng-click="gotoUpdateS(i.ip);"><span class="glyphicon glyphicon-edit"></span>&nbsp;编辑</a>
                                    <a class="btn btn-sm btn-danger" ng-click="delS(i.ip);"><span class="glyphicon glyphicon-remove"></span>&nbsp;删除</a>
                                </td>
                            </tr>
                        </span>
                    </table>
                </div>
            </div>
        </div>
    </div>
</section>

<!--<h1>跳板机列表</h1>-->
<!--
<input type="search" ng-model="search.ip" style="width: 220px;" placeholder="Search Jump Server Ip Here..."/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="button" class="btn btn-info" value="新建" ng-click="gotoAddS();" />
<br>
<br>
<table border="1" cellpadding="0" cellspacing="0" width="50%">
    <tr style="line-height: 30px;">
        <th width="50%" style="text-align:center;">操作</th>
        <th width="50%" style="text-align:center;">跳板机IP</th>
    </tr>
    <span ng-if="count != 0">
        <tr ng-repeat="i in jumpServerList | filter:search | orderBy:'ip' " style="line-height: 50px;">
            <td style="text-align: center;">
                <button class="btn btn-info" ng-click="delS(i.ip);">删除</button>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <button class="btn btn-info" ng-click="gotoUpdateS(i.ip);">编辑</button>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            </td>
            <td style="text-align: center;">{{i.ip}}</td>
        </tr>
    </span>
</table>-->
